package com.example.junitforlab;

import org.junit.Test;

import static org.junit.Assert.*;

/*
    //Test this decision as followed.
        if (Side1 <= 0 || Side2 <= 0 || Side3 <= 0)
        {
            triOut = 4;
            return (triOut);
        }
 */

public class DecisionCoverage {
    trityp tri = new trityp();
    @Test
    public void triang() {
        //Decision Coverage
        assertEquals(1,tri.Triang(6,8,10));
        assertEquals(4,tri.Triang(-1,2,2));
    }
}
